package com.vcg.dubbo.service;

import com.alibaba.dubbo.common.utils.StringUtils;
import org.springframework.stereotype.Service;

/**
 * Created by wuyu on 2016/8/7.
 */
@Service
public class UserRoleServiceImpl implements UserRoleService{

    public boolean hasRole(String username) {
        return !StringUtils.isBlank(username);
    }
}
